<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="blue" >
    <van-swipe-item v-for="item in gobanner" :key="item.id">
      <img :src="item.image_url" alt="" >
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
    gobanner: Array
  }
};
</script>

<style lang="less" scoped>
  .my-swipe {
    img {
      display: block;
      width: 100%;
    }
    /deep/.van-swipe__indicator {
      background-color: green!important;
    }
  }
</style>